TenWebOptimizer\OptimizerAdmin D

Total Complexity 397
Dependencies 20
Dependents 5
Total lines 1,616
Lines of code 1,359
Logical lines of code 819
Comment lines 133
Methods 58
Properties 3

Methods 58

Method Rating Maintainability Complexity Lines of code
ajax_two_settings()
B
39 22 57
set_additional_settings()
B
37 19 70
connect_to_tenweb()
B
39 18 58
two_critical()
B
41 18 52
get_posts_for_critical()
A
42 15 47
activate()
A
45 15 40
two_enqueue_admin_assets()
A
37 13 64
save_css_options()
A
41 13 59
admin_menu()
A
37 11 88
clear_cache()
A
42 13 51
request_webp_action()
A
39 11 64
__construct()
A
46 13 33
two_elementor_regenerate_ccss()
A
48 12 31
two_flow_incompatible_plugins()
A
51 12 24
init_admin()
A
39 9 59
clear_cache_conditionally_update()
A
53 11 21
settings_page()
A
54 11 17
two_flow_set_mode()
A
52 10 21
two_deactivate()
A
49 9 29
two_critical_statuses()
A
50 8 28
update()
A
51 8 25
two_uninstall()
S
46 6 41
set_global_mode()
S
53 7 23
generateCriticalCssOnInit()
S
55 7 18
two_update_flow_status()
S
57 7 15
clear_critical_cache()
S
54 6 20
two_activate()
S
54 6 20
two_enqueue_assets()
S
48 5 32
add_two_delayed_js_execution_list()
S
57 5 16
get_plugins_state()
S
57 5 16
two_deactivate_plugin()
S
64 5 9
wp_permalink_structure_changed_()
S
61 4 12
disconnect_from_tenweb()
S
52 3 25
clear_cache_conditionally_activate()
S
59 3 16
two_clear_cloudflare_cache()
S
68 4 7
post_clear_cache()
S
66 4 7
redirect_after_activation()
S
69 4 6
ajax_two_update_setting()
S
61 3 11
two_finish_flow()
S
61 3 11
fix_delayed_list_slashes()
S
62 3 11
two_manage_posts_column()
S
67 3 8
manager_clear_cache()
S
66 3 7
two_white_label()
S
68 3 6
acf_update_fields()
S
68 3 6
add_deactivation_popup()
S
73 3 5
get_incompatible_active_plugins()
S
65 3 9
change_front_page()
S
69 2 7
title_filter()
S
67 2 7
delete_optimized_pages_by_id()
S
71 2 6
add_action_link()
S
67 2 7
get_instance()
S
72 2 6
two_add_two_plugin_to_autoupdate()
S
69 2 7
clear_cache_without_critical_css_regeneration()
S
78 1 3
customer_support()
S
70 1 6
referral_program_page()
S
80 1 3
white_label_view()
S
80 1 3
two_admin_bar_menu()
S
72 1 6
cloudflare_cdn_page()
S
80 1 3